package tom.change.util;

import java.awt.Color;

public class ConvertColor {

	private ConvertColor(){}
	
	/**
	 * 将16进制转为颜色
	 */
	public static Color getColorFromHex(String hex){
		return new Color(Integer.parseInt(hex,16));
	}
}
